package org.bean;

/**
 * @author : DengYing
 * @CreateDate : 2017年11月3日 下午2:41:11
 * @Description ：聊天消息
 */
public class SourceChatMsg {
	// 发言人ID
	private int sourcePid;
	// 发言人名称
	private String sourceName;
	private int lvl;
	private int helpFightHeroCid;
	// 聊天室ID
	private int chatRoomId;
	// 聊天频道
	private int channel;
	// 功能
	private int fun;
	// 发言内容
	private String content;
	// 目标ID
	private int targetId;


	public SourceChatMsg(int sourcePid, String sourceName, int chatRoomId, int channel,int fun,String content, int targetId) {
		super();
		this.sourcePid = sourcePid;
		this.sourceName = sourceName;
		this.chatRoomId = chatRoomId;
		this.channel = channel;
		this.fun = fun;
		this.content = content;
		this.targetId = targetId;
	}

	public int getSourcePid() {
		return sourcePid;
	}

	public void setSourcePid(int sourcePid) {
		this.sourcePid = sourcePid;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public int getLvl() {
		return lvl;
	}

	public void setLvl(int lvl) {
		this.lvl = lvl;
	}

	public int getHelpFightHeroCid() {
		return helpFightHeroCid;
	}

	public void setHelpFightHeroCid(int helpFightHeroCid) {
		this.helpFightHeroCid = helpFightHeroCid;
	}

	public int getChatRoomId() {
		return chatRoomId;
	}

	public void setChatRoomId(int chatRoomId) {
		this.chatRoomId = chatRoomId;
	}

	public int getChannel() {
		return channel;
	}

	public void setChannel(int channel) {
		this.channel = channel;
	}
	
	public int getFun() {
		return fun;
	}

	public void setFun(int fun) {
		this.fun = fun;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getTargetId() {
		return targetId;
	}

	public void setTargetId(int targetId) {
		this.targetId = targetId;
	}

}
